#[derive(Debug, PartialEq, serde::Serialize, serde::Deserialize, Clone, Getters, Setters)]
#[getset(get_mut = "pub", get = "pub", set = "pub")]
pub struct LogConfig {
    level: String,
    path: String,
    file_name: String,
}

impl LogConfig {
    pub fn default() -> Self {
        Self {
            level: "info".to_string(),
            path: "logs".to_string(),
            file_name: "all.log".to_string(),
        }
    }
}